#Boa:Frame:CadastroLivro

import wx
from classe_controle import *

def create(parent):
    return CadastroLivro(parent)

[wxID_CADASTROLIVRO, wxID_CADASTROLIVROBUTTON1, wxID_CADASTROLIVROBUTTON2, 
 wxID_CADASTROLIVROBUTTON3, wxID_CADASTROLIVROBUTTON4, 
 wxID_CADASTROLIVROBUTTON5, wxID_CADASTROLIVROSTATICBOX1, 
 wxID_CADASTROLIVROSTATICBOX2, wxID_CADASTROLIVROSTATICTEXT1, 
 wxID_CADASTROLIVROSTATICTEXT2, wxID_CADASTROLIVROSTATICTEXT3, 
 wxID_CADASTROLIVROSTATICTEXT4, wxID_CADASTROLIVROSTATICTEXT5, 
 wxID_CADASTROLIVROSTATICTEXT6, wxID_CADASTROLIVROTEXTCTRL1, 
 wxID_CADASTROLIVROTEXTCTRL2, wxID_CADASTROLIVROTEXTCTRL3, 
 wxID_CADASTROLIVROTEXTCTRL4, wxID_CADASTROLIVROTEXTCTRL5, 
 wxID_CADASTROLIVROTEXTCTRL6, 
] = [wx.NewId() for _init_ctrls in range(20)]

class CadastroLivro(wx.Frame):
    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.Frame.__init__(self, id=wxID_CADASTROLIVRO, name=u'CadastroLivro',
              parent=prnt, pos=wx.Point(332, 184), size=wx.Size(457, 372),
              style=wx.DEFAULT_FRAME_STYLE, title=u'Cadastro de Livros')
        self.SetClientSize(wx.Size(449, 338))

        self.staticBox1 = wx.StaticBox(id=wxID_CADASTROLIVROSTATICBOX1,
              label=u'Informa\xe7\xf5es', name='staticBox1', parent=self,
              pos=wx.Point(24, 32), size=wx.Size(256, 272), style=0)

        self.staticText1 = wx.StaticText(id=wxID_CADASTROLIVROSTATICTEXT1,
              label=u'C\xf3digo', name='staticText1', parent=self,
              pos=wx.Point(40, 64), size=wx.Size(33, 13), style=0)

        self.staticText2 = wx.StaticText(id=wxID_CADASTROLIVROSTATICTEXT2,
              label=u'Emprestado', name='staticText2', parent=self,
              pos=wx.Point(144, 64), size=wx.Size(57, 13), style=0)

        self.textCtrl2 = wx.TextCtrl(id=wxID_CADASTROLIVROTEXTCTRL2,
              name='textCtrl2', parent=self, pos=wx.Point(208, 64),
              size=wx.Size(40, 21), style=0, value=u'')
        self.textCtrl2.SetEditable(False)
        self.textCtrl2.Enable(False)

        self.staticText3 = wx.StaticText(id=wxID_CADASTROLIVROSTATICTEXT3,
              label=u'Nome', name='staticText3', parent=self, pos=wx.Point(40,
              112), size=wx.Size(27, 13), style=0)

        self.staticText4 = wx.StaticText(id=wxID_CADASTROLIVROSTATICTEXT4,
              label=u'Autor', name='staticText4', parent=self, pos=wx.Point(40,
              160), size=wx.Size(27, 13), style=0)

        self.staticText5 = wx.StaticText(id=wxID_CADASTROLIVROSTATICTEXT5,
              label=u'Editora', name='staticText5', parent=self,
              pos=wx.Point(40, 208), size=wx.Size(34, 13), style=0)

        self.staticText6 = wx.StaticText(id=wxID_CADASTROLIVROSTATICTEXT6,
              label=u'Ano', name='staticText6', parent=self, pos=wx.Point(48,
              256), size=wx.Size(19, 13), style=0)

        self.textCtrl1 = wx.TextCtrl(id=wxID_CADASTROLIVROTEXTCTRL1,
              name='textCtrl1', parent=self, pos=wx.Point(88, 64),
              size=wx.Size(40, 21), style=0, value=u'')
        self.textCtrl1.SetEditable(False)
        self.textCtrl1.Enable(False)

        self.textCtrl3 = wx.TextCtrl(id=wxID_CADASTROLIVROTEXTCTRL3,
              name='textCtrl3', parent=self, pos=wx.Point(88, 112),
              size=wx.Size(160, 21), style=0, value=u'')

        self.textCtrl4 = wx.TextCtrl(id=wxID_CADASTROLIVROTEXTCTRL4,
              name='textCtrl4', parent=self, pos=wx.Point(88, 160),
              size=wx.Size(160, 21), style=0, value=u'')

        self.textCtrl5 = wx.TextCtrl(id=wxID_CADASTROLIVROTEXTCTRL5,
              name='textCtrl5', parent=self, pos=wx.Point(88, 208),
              size=wx.Size(160, 21), style=0, value=u'')

        self.textCtrl6 = wx.TextCtrl(id=wxID_CADASTROLIVROTEXTCTRL6,
              name='textCtrl6', parent=self, pos=wx.Point(88, 256),
              size=wx.Size(48, 21), style=0, value=u'')

        self.button1 = wx.Button(id=wxID_CADASTROLIVROBUTTON1,
              label=u'Pesquisar', name='button1', parent=self, pos=wx.Point(328,
              64), size=wx.Size(75, 23), style=0)
        self.button1.Bind(wx.EVT_BUTTON, self.OnButton1Button,
              id=wxID_CADASTROLIVROBUTTON1)

        self.button2 = wx.Button(id=wxID_CADASTROLIVROBUTTON2, label=u'Novo',
              name='button2', parent=self, pos=wx.Point(328, 112),
              size=wx.Size(75, 23), style=0)
        self.button2.Bind(wx.EVT_BUTTON, self.OnButton2Button,
              id=wxID_CADASTROLIVROBUTTON2)

        self.button3 = wx.Button(id=wxID_CADASTROLIVROBUTTON3, label=u'Editar',
              name='button3', parent=self, pos=wx.Point(328, 160),
              size=wx.Size(75, 23), style=0)
        self.button3.Bind(wx.EVT_BUTTON, self.OnButton3Button,
              id=wxID_CADASTROLIVROBUTTON3)

        self.button4 = wx.Button(id=wxID_CADASTROLIVROBUTTON4, label=u'Salvar',
              name='button4', parent=self, pos=wx.Point(328, 208),
              size=wx.Size(75, 23), style=0)
        self.button4.Bind(wx.EVT_BUTTON, self.OnButton4Button,
              id=wxID_CADASTROLIVROBUTTON4)

        self.button5 = wx.Button(id=wxID_CADASTROLIVROBUTTON5, label=u'Limpar',
              name='button5', parent=self, pos=wx.Point(328, 256),
              size=wx.Size(75, 23), style=0)
        self.button5.Bind(wx.EVT_BUTTON, self.OnButton5Button,
              id=wxID_CADASTROLIVROBUTTON5)

        self.staticBox2 = wx.StaticBox(id=wxID_CADASTROLIVROSTATICBOX2,
              label=u'Op\xe7\xf5es', name='staticBox2', parent=self,
              pos=wx.Point(304, 32), size=wx.Size(120, 272), style=0)

    def __init__(self, parent):
        self._init_ctrls(parent)
        
    def OnButton1Button(self, event):
        event.Skip()

    def OnButton2Button(self, event):
        event.Skip()

    def OnButton3Button(self, event):
        event.Skip()

    def OnButton4Button(self, event):
        event.Skip()

    def OnButton5Button(self, event):
        event.Skip()


